package com.cr.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户/律师/律所信息对象 cr_user
 *
 * @author ruoyi
 * @date 2021-10-10
 */
@Data
@ApiModel("用户实体")
public class UserVo
{

    /** 用户id */
    @ApiModelProperty("用户id")
    private Long userId;

    /** 登录账号 */
    @ApiModelProperty("登录账号")
    private String loginId;

    /** 密码 */
    @ApiModelProperty("密码")
    private String password;

    /** 用户类型，0个人，1,律师，2机构 */
    @ApiModelProperty("用户类型，0个人，1,律师，2机构")
    private Integer userType;

    /** 名称 */
    @ApiModelProperty("名称")
    private String userName;

    /** 昵称 */
    @ApiModelProperty("昵称")
    private String nickName;

    /** 身份证号码 */
    @ApiModelProperty("身份证号码")
    private String idCard;

    /** 地址 */
    @ApiModelProperty("地址")
    private String address;

    /** 手机号 */
    @ApiModelProperty("手机号")
    private String mobile;

    /** 邮箱 */
    @ApiModelProperty("邮箱")
    private String email;

    /** 律师执业证件号--律师 */
    @ApiModelProperty("律师执业证件号--律师")
    private String lawyerCertificateNo;

    /** 社会统一信用代码--律所 */
    @ApiModelProperty("社会统一信用代码--律所")
    private String socialUnifiedCreditCode;

    /** 法定代表人--律所 */
    @ApiModelProperty("法定代表人--律所")
    private String legalRepresentative;

    /** 联系电话（固话）-律所 */
    @ApiModelProperty("联系电话")
    private String fixedTelephone;

    /** 所在律师事务所名称--律师 */
    @ApiModelProperty("所在律师事务所名称--律师")
    private String lawFirmName;

    /** 头像 */
    @ApiModelProperty("头像")
    private String headPortrait;

    /** 身份证照片正面 */
    @ApiModelProperty("身份证照片正面")
    private String idCardFacade;

    /** 身份证照片反面 */
    @ApiModelProperty("身份证照片反面")
    private String idCardBack;

    /** 营业执照照片 */
    @ApiModelProperty("营业执照照片")
    private String businessLicenseImage;

    /** 律师执业证书照片 */
    @ApiModelProperty("律师执业证书照片")
    private String lawyerCertificateImage;

    /** 账户余额 */
    @ApiModelProperty("账户余额")
    private BigDecimal balance;

    /** 审核状态，0未审核，1已审核，2驳回 */
    @ApiModelProperty("审核状态，0未审核，1已审核，2驳回")
    private Integer auditStatus;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("审核时间")
    private Date auditTime;

    /** 身份证有效期 */
    @ApiParam("身份证有效期")
    private String idCardValidity;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getLawyerCertificateNo() {
        return lawyerCertificateNo;
    }

    public void setLawyerCertificateNo(String lawyerCertificateNo) {
        this.lawyerCertificateNo = lawyerCertificateNo;
    }

    public String getSocialUnifiedCreditCode() {
        return socialUnifiedCreditCode;
    }

    public void setSocialUnifiedCreditCode(String socialUnifiedCreditCode) {
        this.socialUnifiedCreditCode = socialUnifiedCreditCode;
    }

    public String getLegalRepresentative() {
        return legalRepresentative;
    }

    public void setLegalRepresentative(String legalRepresentative) {
        this.legalRepresentative = legalRepresentative;
    }

    public String getFixedTelephone() {
        return fixedTelephone;
    }

    public void setFixedTelephone(String fixedTelephone) {
        this.fixedTelephone = fixedTelephone;
    }

    public String getLawFirmName() {
        return lawFirmName;
    }

    public void setLawFirmName(String lawFirmName) {
        this.lawFirmName = lawFirmName;
    }

    public String getHeadPortrait() {
        return headPortrait;
    }

    public void setHeadPortrait(String headPortrait) {
        this.headPortrait = headPortrait;
    }

    public String getIdCardFacade() {
        return idCardFacade;
    }

    public void setIdCardFacade(String idCardFacade) {
        this.idCardFacade = idCardFacade;
    }

    public String getIdCardBack() {
        return idCardBack;
    }

    public void setIdCardBack(String idCardBack) {
        this.idCardBack = idCardBack;
    }

    public String getBusinessLicenseImage() {
        return businessLicenseImage;
    }

    public void setBusinessLicenseImage(String businessLicenseImage) {
        this.businessLicenseImage = businessLicenseImage;
    }

    public String getLawyerCertificateImage() {
        return lawyerCertificateImage;
    }

    public void setLawyerCertificateImage(String lawyerCertificateImage) {
        this.lawyerCertificateImage = lawyerCertificateImage;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getIdCardValidity() {
        return idCardValidity;
    }

    public void setIdCardValidity(String idCardValidity) {
        this.idCardValidity = idCardValidity;
    }
    
    
}